package com.zkjl.protect_business.service;

import com.zkjl.protect_business.dto.PageBaseDTO;
import com.zkjl.protect_business.vo.SearchResultVO;
import com.zkjl.protect_business.vo.SiteSearchVO;
import org.springframework.data.domain.PageImpl;

import java.util.List;
import java.util.Map;

public interface SiteSearchService {


    /**
     * 全索引搜索
     * @param search
     * @return
     */
    List<SiteSearchVO> search(String search);


    /**
     * 搜索命中文件列表
     *
     * @param pageBaseDTO
     * @param businessId
     * @return
     */
    PageImpl<Map<String, Object>> search(PageBaseDTO pageBaseDTO, String businessId);



}
